<template>
  <!-- 新增订单页头部 -->
  <div id="OrderDetails">
    <!-- 顶部响应式 -->
    <div class="top">
      <div class="grid-content ep-bg-purple">
        <slot name="baoCun"></slot>
        <slot name="tiJiaoShenHe"></slot>
        <!-- 进行中订单详情 -->
        <slot name="quXiao"></slot>
        <slot name="luRuFeiYong"></slot>
        <slot name="danZhengZhiZuo"></slot>
        <!-- 费用录入页面 -->
        <slot name="baocun"></slot>
        <slot name="quxiao"></slot>
        <slot name="qianfa"></slot>
      </div>
      <div class="right">
        <slot name="shibie"></slot>
        <slot name="mubandaoru"></slot>
      </div>
    </div>
  </div>
  <!--
    v-if="$slots.tiJiaoShenHe"  判断插槽有没有传旨
    <el-button plain class="gongNengBtn" v-if="$slots.tiJiaoShenHe"> </el-button>
  -->
</template>

<script lang="ts" setup name="OrderDetails">
// OrderDetails
</script>

<style lang="scss" scoped>
#OrderDetails {
  width: 100%;
  .open {
    width: calc(100% - #{$sideBarWidth});
  }
  .hide {
    width: calc(100% - 54px);
  }
  .hide2 {
    width: calc(100% - 0px);
  }

  .top {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 15px;
    position: fixed;
    top: 50px;
    right: 0;
    height: 50px;
    z-index: 9;
    transition: width 0.28s;
    background-color: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0px 6px 4px -4px rgba(0, 21, 41, 0.08);
    .grid-content {
      height: 50px;
      display: flex;
      align-items: center;
    }
    .right {
      height: 50px;
      display: flex;
      align-items: center;
    }
  }
}
</style>
